package com.pfsoft.myspringbootstarter.service;

/**
 * @author pengfei
 * @date 2022年07月19日 14:23
 */

public class PersonService {
    private String name;
    private int age;

    public PersonService(String name,int age){
        this.name=name;
        this.age=age;
    }

    public String introduce(){
        return "hello,I'm "+ this.name + ",and "+this.age +"years old";
    }
}
